Skip to content

[Codegen] extract emitDouble from parsers modules to shared parsers-primitives#34913

Closed
AntoineDoubovetzky wants to merge 1 commit into
facebook:mainfrom
AntoineDoubovetzky:refactor/extract-emitDouble-function
Closed

[Codegen] extract emitDouble from parsers modules to shared parsers-primitives#34913
AntoineDoubovetzky wants to merge 1 commit into
facebook:mainfrom
AntoineDoubovetzky:refactor/extract-emitDouble-function

Conversation

@AntoineDoubovetzky
Copy link
Copy Markdown

Summary

Part of #34872

This PR extracts the content of the case 'Double' (Flow, TypeScript) into a single emitDouble function in the parsers-primitives.js file. Use the new function in the parsers.

Changelog

[Internal] [Changed] - Extract contents of the case 'Double' into a single emitDouble function inside parsers-primitives

Test Plan

I tested using jest and flow commands.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Oct 9, 2022
@analysis-bot
Copy link
Copy Markdown

analysis-bot commented Oct 9, 2022

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 7,747,611 +0
android hermes armeabi-v7a 7,149,395 +0
android hermes x86 8,058,588 +0
android hermes x86_64 8,029,524 +0
android jsc arm64-v8a 9,608,518 +0
android jsc armeabi-v7a 8,373,768 +0
android jsc x86 9,555,784 +0
android jsc x86_64 10,148,324 +0

Base commit: 54fc62c
Branch: main

@analysis-bot
Copy link
Copy Markdown

analysis-bot commented Oct 9, 2022

Platform Engine Arch Size (bytes) Diff
ios - universal n/a --

Base commit: 54fc62c
Branch: main

@facebook-github-bot
Copy link
Copy Markdown
Contributor

@rshest has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@AntoineDoubovetzky AntoineDoubovetzky force-pushed the refactor/extract-emitDouble-function branch from 496836d to d96c443 Compare October 10, 2022 05:40
@AntoineDoubovetzky
Copy link
Copy Markdown
Author

Rebased the branch because of conflicts

@react-native-bot
Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @AntoineDoubovetzky in 3ab7ef2.

When will my fix make it into a release? | Upcoming Releases

@react-native-bot react-native-bot added the Merged This PR has been merged. label Oct 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. hacktoberfest-accepted Merged This PR has been merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants